Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customizable indentation and unindent #24

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

jeroenvisser101
Copy link
Contributor

You can now press shift+tab to unindent and set custom indent width (tabs, 2 spaces, 8 spaces, it will work no matter what)

@desertkun
Copy link

Was waiting exactly for this!

@jeroenvisser101 jeroenvisser101 force-pushed the unindent-and-indent-config branch from 38b1077 to 6275c68 Compare December 15, 2016 12:07
@jeroenvisser101
Copy link
Contributor Author

btw, the shift-tab only works when you're at the beginning of the line (or rather, when your cursor can go back 4 characters), but I think it would be more 'natural', to allow it anywhere on the line and activate when the first part matches the indentation. I'll change it.

@jeroenvisser101 jeroenvisser101 force-pushed the unindent-and-indent-config branch from 6275c68 to 2ce79c9 Compare December 15, 2016 12:52
You can now press shift+tab to unindent.
@jeroenvisser101 jeroenvisser101 force-pushed the unindent-and-indent-config branch from 2ce79c9 to fe2532d Compare December 15, 2016 12:53
@kazzkiq kazzkiq merged commit 9e2e0dc into kazzkiq:master Dec 19, 2016
@kazzkiq
Copy link
Owner

kazzkiq commented Dec 19, 2016

@jeroenvisser101 Sorry for the delay. The closer to New Year, the busier we get, right? 🏃

Thanks for the awesome contribution!

@jeroenvisser101
Copy link
Contributor Author

@kazzkiq no worries! Appreciate you taking the time to look at it 👍

@jeroenvisser101 jeroenvisser101 deleted the unindent-and-indent-config branch December 19, 2016 08:53
@lehni
Copy link
Contributor

lehni commented May 7, 2018

@kazzkiq I think this functionality is now broken in v1.0+

@kazzkiq
Copy link
Owner

kazzkiq commented May 7, 2018

@lehni You're right. This code will have to be imported to the new major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants